ga.view.streaming
Class ShowRoomState<T extends IIndividual<T>>
java.lang.Object
com.jme3.app.state.AbstractAppState
ga.view.appstate.RootNodeState
ga.view.appstate.SceneState
ga.view.streaming.ShowRoomState<T>
- Type Parameters:
T - The generic type of the individuals.
- All Implemented Interfaces:
- com.jme3.app.state.AppState
public class ShowRoomState<T extends IIndividual<T>>
- extends SceneState
This is an app state that shows individuals in the showroom.
- Since:
- 12.08.2012
- Author:
- Stephan Dreyer
| Fields inherited from class com.jme3.app.state.AbstractAppState |
initialized |
|
Constructor Summary |
ShowRoomState(com.jme3.app.state.AppState stateToPause,
CameraSettings camSettings)
Instantiates a new show room state. |
| Methods inherited from class com.jme3.app.state.AbstractAppState |
isEnabled, isInitialized, postRender, render |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stateToPause
private final com.jme3.app.state.AppState stateToPause
dragListener
private CamDragListener dragListener
doubleClickListener
private ShowRoomState.DoubleClickListener doubleClickListener
panelNode
private PanelNode<T extends IIndividual<T>> panelNode
settings
private com.jme3.system.AppSettings settings
camSettings
private CameraSettings camSettings
ShowRoomState
public ShowRoomState(com.jme3.app.state.AppState stateToPause,
CameraSettings camSettings)
- Instantiates a new show room state.
- Parameters:
stateToPause - the state to pausecamSettings - the cam settings- Since:
- 12.08.2012
initialize
public void initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app)
- Specified by:
initialize in interface com.jme3.app.state.AppState- Overrides:
initialize in class SceneState
setCamSettings
public void setCamSettings(CameraSettings camSettings)
- Sets the cam settings.
- Parameters:
camSettings - the new cam settings- Since:
- 12.08.2012
setPanelNode
public void setPanelNode(PanelNode<T> panelNode)
- Sets the panel node.
- Parameters:
panelNode - the new panel node- Since:
- 12.08.2012
setRootNode
public void setRootNode(com.jme3.scene.Node node)
- Sets the root node.
- Parameters:
node - the new root node- Since:
- 12.08.2012
setSettings
public void setSettings(com.jme3.system.AppSettings settings)
- Sets the app settings.
- Parameters:
settings - the new app settings- Since:
- 12.08.2012
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled in interface com.jme3.app.state.AppState- Overrides:
setEnabled in class SceneState
stateAttached
public void stateAttached(com.jme3.app.state.AppStateManager stateManager)
- Specified by:
stateAttached in interface com.jme3.app.state.AppState- Overrides:
stateAttached in class com.jme3.app.state.AbstractAppState
stateDetached
public void stateDetached(com.jme3.app.state.AppStateManager stateManager)
- Specified by:
stateDetached in interface com.jme3.app.state.AppState- Overrides:
stateDetached in class com.jme3.app.state.AbstractAppState